home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / aniedit.inf next >
INI File  |  1995-10-12  |  4KB  |  108 lines

  1. ; ANIEDIT.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. Register.Copy    = 17    ; LDID_INF
  15. rklayout.copy = 17     ;  LDID_INF
  16. AniEditCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%    ; LDID_APPS\Program Files\Resource Kit
  17. ANIEDIT.HLP.Copy = 18    ; LDID_HELP 
  18.  
  19. [Optional Components]
  20. Aniedit
  21.  
  22. [Aniedit]
  23. OptionDesc  = %AniImageEdit_Desc%
  24. Tip         = %ANIEDIT_TIP%
  25. CopyFiles   = AniEditCopyFiles, ANIEDIT.HLP.Copy, Register.Copy, rklayout.copy
  26. UpdateInis  = ANIEDIT.Inis
  27. AddReg      = AniEditReg, ANIEDIT.install.reg, Register.AddReg
  28. InstallType = 0            ;Manual only
  29. IconIndex   = 45            ;Default (diamond) mini-icon for dialogs
  30. Uninstall   = ANIEDIT_remove
  31.  
  32.  
  33. [ANIEDIT_remove]
  34. DelFiles    = AniEditCopyFiles, ANIEDIT.HLP.Copy, Register.Copy
  35. DelReg      = UnRegister.DelReg
  36. UpdateInis  = ANIEDIT.Rem.Inis
  37.  
  38.  
  39. [rklayout.copy]
  40. rklayout.inf
  41.  
  42. [Register.Copy]
  43. aniedit.inf
  44.  
  45. [AniEditCopyFiles]
  46. aniedit.exe
  47. imagedit.exe
  48. aniedit.txt
  49.  
  50. [ANIEDIT.HLP.Copy]
  51. imagedit.hlp
  52.  
  53.  
  54. [Register.AddReg]
  55. ;Create entries for Maint Mode Setup
  56. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\aniedit,DisplayName,,%AniImageEdit_Desc%
  57. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\aniedit,UninstallString,,"RunDll setupx.dll,InstallHinfSection ANIEDIT_Remove 4 ANIEDIT.INF"
  58.  
  59. [UnRegister.DelReg]
  60. ;Remove entries for Maint Mode Setup
  61. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\aniedit
  62.  
  63. [AniEditReg]
  64. ; create the long-name for "Program Files"
  65. ; Note that when you rename a long name, VFAT changes the short name from
  66. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  67. ; an intermediate rename
  68. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  69. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  70. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  71. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  72. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  73. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  74. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  75.  
  76.  
  77. [ANIEDIT.Inis]
  78. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  79. setup.ini, group11,, """%Aniedit_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\ANIEDIT.EXE,,, aniedit"       ;creates link
  80. setup.ini, group11,, """%Imagedit_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\IMAGEDIT.EXE,,, imagedit"       ;creates link
  81.  
  82. [ANIEDIT.Rem.Inis]
  83. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  84. setup.ini, group11,, """%Aniedit_Desc%"""                      ;deletes link
  85. setup.ini, group11,, """%Imagedit_Desc%"""                      ;deletes link
  86.  
  87.  
  88. [Strings]
  89. RKTOOLS_DESC   = "Resource Kit"
  90. AniImageEdit_Desc    = "Animated Cursor Editor and Image Editor"
  91. Aniedit_Desc    = "Animated Cursor Editor"
  92. Imagedit_Desc   = "Image Editor"
  93. ANIEDIT_TIP     = "Allows you to edit or create animated cursors and icons"
  94. DSK = "Windows 95 Resource Kit"
  95.  
  96.  
  97.  
  98. ; Directory names - note that that short versions must match the truncated
  99. ; 8 char names for the long versions, or else there will be problems.
  100. ; also need to put the short versions in the [DestinationDirs] section above
  101. ; Used by wordpad, hypertrm, backup, paint, & MSN
  102. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  103. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  104. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  105. ResourceKit      = "Resource Kit"
  106. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  107. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  108.